<template>
  <el-card class="box-card">
    <el-tabs v-model="activeName">
      <el-tab-pane label="图片形式" name="first">
        <picture-form v-if="activeName === 'first'" />
      </el-tab-pane>
      <el-tab-pane label="表格形式" name="second">
        <tabular-form v-if="activeName === 'second'" />
      </el-tab-pane>
    </el-tabs>
  </el-card>
</template>

<script>
import PictureForm from './modules/PictureForm.vue';
import TabularForm from './modules/TabularForm';
export default {
  components: {
    PictureForm,
    TabularForm,

  },
  data() {
    return {
      activeName: 'first',
    };
  },
};
</script>

<style>
.box-card{
  margin: 10px;
}
</style>
